package icu.xblogs.report.service;

import icu.xblogs.report.domain.Employee;
import icu.xblogs.report.mapper.EmployeeMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author Frank KONG
 * @version 1.0
 * @date 2020/11/17 10:03
 */
public interface EmployeeService {

    Employee getByIdAndPsw(int id, String password);

    Employee getById(int id);

    void updatePsw(int id, String oldPassword, String newPassword);

    String getImg(int id);

    String updateImg(String img, int id);
}
